home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
FROMUTS
/
ARCAUT
/
Automatons
/
Parity
< prev
next >
Wrap
Text File
|
1991-07-27
|
431b
|
27 lines
AUTOMATON*
Parity
Similar to 'Forget Me Not', this is a two state Moore neighbourhood
automaton. It was devised by Edward Fredkin.
INITIALISATION*
10DEF PROCdo
20*SetEval wrap on
30ENDPROC
SCREEN*
10DEF PROCdo
20DIM buf% 256:SYS "OS_ReadVarVal","sux",buf%,256
30k%=RND(!buf%)
40GCOL 63 TINT 255:RECTANGLE FILL -k%/2,-k%/2,k%,k%
50ENDPROC
CODE*
( READ_NEIG
CELL TM EOR BM EOR ML EOR MR EOR == )
END*